package com.hqshuke.exchange.system.feignClient;


import com.hqshuke.exchange.system.dto.DemoDto;
import com.hqshuke.exchange.system.vo.DemoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "exchange-system")
public interface SystemClient {

    @GetMapping("/main/test/get")
    DemoVo test(DemoDto testDto);

    @PostMapping("/main/test/post")
    DemoVo postTest(@RequestBody DemoDto dto);
}
